import instance from './instance'

//查询所以预定信息
export const getReserve = () => instance.get('/reserve/findAllReserve')

//删除预定信息
export const deleteReserve = (id) => instance.delete("/reserve/deleteReserve?id="+id)

//添加预定信息
export const addReserve = (data) => instance.post('/reserve/addReserve',data)

//修改预定信息
export const updateReserve = (data) => instance.post('/reserve/updateReserve',data)

//多条件查询
export const findReserve = (data) => instance.post('/reserve/findReserve',data)